const express = require('express')
const router = express.Router()

const subjectHandler = require('../router_handler/subject')

// 获取科目信息
router.get('/get/subject', subjectHandler.getSubject)

router.get('/allSubject', subjectHandler.getAllSubject)

router.post('/addSubject', subjectHandler.addSubject)

router.post('/updateSubject', subjectHandler.updateSubject)

router.post('/delSubject', subjectHandler.delSubject)

module.exports = router